package cn.mall.framework.wxsdk.core.msg;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
public class FollowList {

    /**
     * 关注该公众账号的总用户数
     */
	private int total;

    /**
     * 拉取的OPENID个数，最大值为10000
     */
	private int count;

    /**
     * 列表数据，OPENID的列表
     */
	private List<String> openIds = new ArrayList<String>();

    /**
     * 拉取列表的后一个用户的OPENID
     */
    @JSONField(name = "next_openid")
	private String nextOpenId;

    @Override
    public String toString() {
        return "FollowList{" +
                "total=" + total +
                ", count=" + count +
                ", openIds=" + (openIds.size()) +
                ", nextOpenId='" + nextOpenId + '\'' +
                '}';
    }
}
